package com.jsnu.xiaochi.dao;

import com.jsnu.xiaochi.pojo.Food_comments;
import com.jsnu.xiaochi.pojo.Food_commentsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Food_commentsMapper {
    int countByExample(Food_commentsExample example);

    int deleteByExample(Food_commentsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Food_comments record);

    int insertSelective(Food_comments record);

    List<Food_comments> selectByExample(Food_commentsExample example);

    Food_comments selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Food_comments record, @Param("example") Food_commentsExample example);

    int updateByExample(@Param("record") Food_comments record, @Param("example") Food_commentsExample example);

    int updateByPrimaryKeySelective(Food_comments record);

    int updateByPrimaryKey(Food_comments record);
}